package com.ericzong.renamer.model.file;

import java.nio.file.Path;

import com.ericzong.renamer.model.AbstractRecord;

public class FileRecord extends AbstractRecord
{
	private Path path;
	
	private String target;
	private String customTarget;
	
	public FileRecord(Path path)
	{
		this.path = path;
	}
	
	public Path getPath()
	{
		return path;
	}

	@Override
	public String getSource()
	{
		return path.getFileName().toString();
	}

	@Override
	public String getTarget()
	{
		return target;
	}

	@Override
	public String getCustomTarget()
	{
		return customTarget;
	}

	@Override
	public void setTarget(String target)
	{
		this.target = target;
	}

	@Override
	public void setCustomTarget(String userTarget)
	{
		this.customTarget = userTarget;
	}

}
